﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using Kooboo.CMS.Content.Models;
using Kooboo.Web.Mvc;
using System.ComponentModel;

namespace Kooboo.CMS.DataModule.Models
{
    public class ImportModel
    {
        [UIHint("DropDownList")]
        [DataSource(typeof(FoldersDataSource))]
        [Description("The folder which to import")]
        public string FolderName { get; set; }        
        public string ParentFolder { get; set; }        
        public string ParentUUID { get; set; }
        public string CategoryFolder { get; set; }
        public string CategoryUUID { get; set; }
        public bool Published { get; set; }
        [UIHint("file")]
        public string DataFile { get; set; }
    }
}